package com.example.medical.service;

import com.example.medical.entity.dto.GetListDto;
import com.example.medical.entity.dto.LeadershipSaveDeviceDto;
import com.example.medical.entity.dto.LeadershipUpdateDeviceDto;
import com.example.medical.entity.dto.UserGetDeviceListDto;
import com.example.medical.entity.pojo.Affairs;
import com.example.medical.entity.pojo.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.medical.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【device】的数据库操作Service
* @createDate 2024-03-31 22:42:11
*/
public interface DeviceService extends IService<Device> {

    Result UserGetDeviceList(UserGetDeviceListDto dto);

    Result LeadershipSaveDevice(LeadershipSaveDeviceDto dto);

    Result LeadershipUpdateDevice(LeadershipUpdateDeviceDto dto);

    Result LeadershipRemoveDeviceArr(String[] ids);

    boolean UpdateDeviceNumber(Affairs checkAffairs,Integer a);

}
